package com.hd.appcommon.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hd.appcommon.entity.Student;
import com.hd.appcommon.entity.User;
import com.hd.appcommon.mapper.StudentMapper;
import com.hd.appcommon.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.function.Function;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<String> getStudentAllDdid() {
        return studentMapper.getAllDdid();
    }

    @Override
    public boolean updateBatchByQueryWrapper(Collection<Student> entityList, Function<Student, QueryWrapper<Student>> queryWrapperFunction) {
        return false;
    }
}
